<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>

	<link href="${ctx }/static/css/wxcss/menu.css?v=2014111501" rel="stylesheet" type="text/css"/>
	<link href="${ctx }/static/css/wxcss/material.css?v=2014030901" rel="stylesheet" type="text/css"/>
	
	<script src="${ctx }/static/script/admin/menu.js?v=2014111503" type="text/javascript" charset="UTF-8"></script>
    
    <div class="easyui-layout" data-options="fit:true">
		<div data-options="region:'north',border:false" style="height:25px;">
			<h3>可创建最多3个一级菜单，每个一级菜单下可创建最多5个二级菜单。编辑中的菜的那不会马上被用户看到，请放心调试。</h3>
		</div>
        <div data-options="region:'west'" style="width:300px" title="菜單管理">
        	<table id="msgmenu_treegrid">
        		<!-- js加载菜单列表 -->
		    </table>
		    <div id="msgmenuDialog" style="display: none;overflow: hidden;width:250px;">
				<form id="msgmenuForm" method="post">
					<table class="tableForm">
						<input type="hidden" name="id" value=""/>
						<input type="hidden" name="parent_id" value=""/>
						<input type="hidden" name="level" value=""/>
						<tr>
							<th>菜单名称</th>
							<td><input name="name" class="easyui-validatebox" required="true" /></td>
						</tr>
					</table>
				</form>
			</div>
			<!-- 右键菜单开始 -->
			<div id="msgmenu" class="easyui-menu" style="width:120px;display: none;">
				<div onclick="appMenu();" iconCls="icon-add">添加</div>
				<div onclick="updatedMenu();" iconCls="icon-edit">編輯</div>
				<div onclick="removeMenu();" iconCls="icon-remove">刪除</div>
			</div>
			<!-- 右键菜单结束 -->
        </div>
        
        
        <div id="action_setting" data-options="region:'center'" title="动作设置">
        	
        	<div class="action_content default jsMain" id="action_none" style="display: block;">
                <p class="action_tips">你可以先添加一个菜单，然后开始为其设置响应动作</p>
            </div>
        	
        	
            </div>
        	
        	
		</div>
		
   
	